﻿using System;

namespace CymbergajTouch.Menu
{
    /// <summary>
    /// Delegate used when item is entered.
    /// </summary>
    delegate void OnItemEnter();

    /// <summary>
    /// Class for menu item.
    /// </summary>
    class MenuItem
    {
        public OnItemEnter ItemEnter;
        public String Name { get; set; }

        public MenuItem(String name, OnItemEnter ItemEnter)
        {
            Name = name;
            this.ItemEnter = ItemEnter;
        }
    }
}
